package com.musicserver.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @TableName admin
 * PO 持久化对象 承载数据库存储结构
 */
@TableName(value ="admin")
@Data
public class Admin {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String password;
}